約 5,622,153 件
https://w.atwiki.jp/koidetansu/pages/6.html
Forum Social Mundial WSF official WSF Nairobi 2007 Foro Social Mundial Caracas 2006 United States Social Forum Open Space Forum Folkrörelser och Protester English text on Social Movement from Sweden CounterCurrent WSF Global Policy Forum
https://w.atwiki.jp/m_shige1979/pages/1383.html
ビルトインウェブサーバ 概要 開発用に簡易ウェブサーバとしての機能を使用可能 Version5.4で使用可能 使用方法 ホームディレクトリへ移動(ドキュメントルート直下と仮定する) D \Tools\xampp\htdocs\sample dir ドライブ D のボリューム ラベルは Data です ボリューム シリアル番号は ********** です D \Tools\xampp\htdocs\sample のディレクトリ 2012/11/25 00 56 DIR . 2012/11/25 00 56 DIR .. 2012/11/25 00 42 32 index.php 2012/11/25 00 42 29 sample01.php 2 個のファイル 61 バイト 2 個のディレクトリ 91,126,611,968 バイトの空き領域 D \Tools\xampp\htdocs\sample ソース準備 index.php ?php echo "aaaaaaaaaaaaaaaa"; sample01.php ?php echo "bbbbbbbbbbbbb"; コマンドを押下して実行:「php -S サーバ ポート番号」 「php -S localhost 8000」 D \Tools\xampp\htdocs\sample php -S localhost 8000 PHP 5.4.7 Development Server started at Sun Nov 25 00 57 21 2012 Listening on http //localhost 8000 Document root is D \Tools\xampp\htdocs\sample Press Ctrl-C to quit. 画面で確認 別のファイルへアクセス 「CTRL+C」で終了 D \Tools\xampp\htdocs\sample php -S localhost 8000 PHP 5.4.7 Development Server started at Sun Nov 25 00 57 21 2012 Listening on http //localhost 8000 Document root is D \Tools\xampp\htdocs\sample Press Ctrl-C to quit. [Sun Nov 25 00 58 15 2012] 127.0.0.1 52950 [200] / [Sun Nov 25 00 58 15 2012] 127.0.0.1 52951 [404] /favicon.ico - No such file or directory [Sun Nov 25 00 58 57 2012] 127.0.0.1 52958 [200] /sample01.php [Sun Nov 25 00 58 58 2012] 127.0.0.1 52959 [404] /favicon.ico - No such file or directory D \Tools\xampp\htdocs\sample
https://w.atwiki.jp/naobe/pages/78.html
ネットワークに戻る RFC2616概要 HTTP/1.1 RFC6265概要 HTTP状態管理機構 パーセントエンコーディング(URLエンコード) URLで意味を持つコードと混同する日本語などのバイナリや特殊記号を16進形式にして、先頭に%を付加した文字に変換する。正確に言うと、非予約文字、予約文字以外を変換する。 項目 説明 非予約文字 ASCIIのコード範囲内の英字(大文字・小文字)、数字、ハイフン “-”、ピリオド “.”、アンダースコア “_”、チルダ “~” 予約文字 URIを表す符号。ASCIIのコード範囲内のコロン “ ”、スラッシュ “/”、疑問符 “?”、シャープ “#”、角括弧 “[”、“]”、単価記号 “@”、感嘆符 “!”、ドル記号・ペソ記号 “$”、アンパサンド “ ”、アポストロフィー・シングルクオート “ ”、丸括弧 “(”、“)”、アスタリスク “*”、正符号・加算記号 “+”、コンマ “,”、セミコロン “;”、等号 “=” name=%E8%8F%85%E7%9B%B4%E4%BA%BA UTF-8で、%E8%8F%85:菅, %E7%9B%B4 直, %E4%BA%BA 人 x-www-form-urlencoded(URLエンコード) POSTのフォームデータをエンコードする。%を付加する方式は、パーセントエンコーディングと同じ。パーセントエンコーディングの予約文字も変換している スペースは"+"に変換。Javaのソースを見ると、英数字、"-","_", ".","*"以外を変換する BASE64 Wikipediaより データを64種類の印字可能な英数字のみを用いて、それ以外の文字を扱うことの出来ない通信環境にてマルチバイト文字やバイナリデータを扱うためのエンコード方式 7ビットのデータしか扱うことの出来ない電子メールにて広く利用されている A–Z, a–z, 0–9 までの62文字と、記号2つ (+ , /) 、さらにパディング(余った部分を詰める)のための記号として = が用いられる 76文字ごとに改行コードが入る Cookie Wikipediaより クッキーを設定する際、どの要求に対してクッキー情報を送り返すのか、URLの範囲を指定する。 規定値は、クッキーを設定したサーバに対するすべての要求であり、対象を広げることも狭めることもできる。ただし広げる場合でも、トップレベルドメインより狭い範囲でなければならない。 またクッキーの有効期限は、通常はブラウザを終了するまでだが、指定した期限まではブラウザを再度起動しても保持されるように設定することができる。有効期限の情報も、サーバからブラウザにクッキー情報を送信する段階で付加される。 無期限という設定は出来ない。 詳細: http //www.studyinghttp.net/cookies リクエスト 全てテキスト。行(CRLF)で区切られる。 フォーマット リクエストラインは1行。ヘッダは複数行。 大項目 小項目 説明 リクエストライン メソッド GET,POST,PUTなどのどれか。 リクエストURL リクエストを処理するURI プロトコルバージョン HTTPのバージョン。【例】HTTP/1.1 ヘッダ HOST リクエスト先のホスト名。必須項目 空行 POSTのときにヘッダの終了を示すために挿入される メッセージボディ POSTのときにリクエストデータを出力する 【例】 GET http //example.jp/31/31-001.php HTTP/1.1 リクエストライン Host example.jp --+ User-Agent Mozilla/5.0 (Windows NT 5.1; rv 2.0.1) Gecko/20100101 Firefox/4.0.1 | Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 +-- ヘッダ Accept-Language ja,en-us;q=0.7,en;q=0.3 | Accept-Encoding gzip, deflate | Accept-Charset Shift_JIS,utf-8;q=0.7,*;q=0.7 | Keep-Alive 115 | Connection keep-alive | Referer http //example.jp/31/ --+ Accept-CharsetでShift-JISの品質係数が1であるため、サーバは、Shift-JISでエンコードしたメッセージを返す。 POST http //example.jp/31/31-003.php HTTP/1.1 リクエストライン Accept image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/vnd.ms-excel ヘッダ Referer http //example.jp/31/31-002.php Accept-Language ja User-Agent Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; Inf oPath.1; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Content-Type application/x-www-form-urlencoded Accept-Encoding gzip, deflate Host example.jp Content-Length 65 Connection Keep-Alive Pragma no-cache name=%E8%8F%85%E7%9B%B4%E4%BA%BA mail=kan@aaa.jp gender=%E7%94%B7 メッセージボディ Hostヘッダ HTTP1.1では必須。POST/GETでのURIにHOSTを指定していなかった場合、Virtualホストを特定できない。そのためHostヘッダにHOST名を指定する。URIにホスト名があって、Hostヘッダにもホスト名がある場合はURIを優先する。URIにホスト名を指定することを強制すれば良いような気がするが。 Referer ヘッダの一種。リンク元のURLを示す。あるWebページのリンクをクリックして別のページに移動したときの、リンク元のページのこと。 改変、削除される場合があるので正しくリンクを示しているとは限らない。 セキュリティ上、問題となるのは、URLが秘密情報を含んでいる場合。たとえば、URLがセッションIDを含んでいる場合。なりすましに使われる可能性がある。 【例】 GET http //example.jp/31/31-002.php HTTP/1.1 Accept image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, appl ication/msword, application/x-shockwave-flash, application/x-ms-application, application/x-ms-xbap, application/vnd.ms -xpsdocument, application/xaml+xml, */* Referer http //example.jp/31/ Accept-Language ja User-Agent Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; Inf oPath.1; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Accept-Encoding gzip, deflate Host example.jp Connection Keep-Alive http //example.jp/31/のHTMLのaタグからリクエストが発生したため、Refererヘッダがつく。 レスポンス 全てテキスト。行で区切られる。 フォーマット ステータスラインは1行。ヘッダ、ボディは複数行。 大項目 小項目 説明 ステータスライン プロトコルバージョン ステータスコード 1XX 処理継続、2XX 正常終了、3XX リダイレクト、4XX クライアントエラー、5XX サーバエラー テキストフレーズ レスポンスヘッダ Content-Length ボディのバイト数 Content-Type MIMEタイプ; charset=エンコーディング 空行 ヘッダの終わりを示す ボディ 【例】 HTTP/1.1 200 OK Date Wed, 04 May 2011 04 51 51 GMT Server Apache/2.2.14 (Ubuntu) X-Powered-By PHP/5.3.2-1ubuntu4.2 Vary Accept-Encoding Content-Length 20 Keep-Alive timeout=15, max=100 Connection Keep-Alive Content-Type text/html; charset=UTF-8 body 13 51 /body Content-type メディアタイプを示すエンティティヘッダ(メッセージボディに対する付随情報)。type "/" subtype *( ";" parameter )であらわされる。text/html; charset=utf-8など。charsetを追加すると出力の文字コードを示す。HTML文書にapplication/octet-streamを付けると、 多くの場合、Webブラウザはそれをダウンロードするか否か問い合わせるようになる。 Apacheの場合は、httpd.confの以下の設定でcharsetを指定する。 AddDefaultCharset UTF-8 Tomcatでは、JSPのpageディレクティブで設定する。 %@ page language="java" contentType="text/html; charset=Windows-31J" pageEncoding="Windows-31J" % http //www.atmarkit.co.jp/fjava/rensai3/mojibake01/mojibake01.html 参照
https://w.atwiki.jp/even_eko/pages/15.html
MacPortsインストール 更新日 2012-11-13 http //www.macports.org/install.php 上のサイトから、pkgファイルをダウンロードすればok PEARアップグレード 更新日 2012-11-13 東工大のネットからpearをupgradeしようとしたら、以下のエラーが出てできなかった。 Could not get contents of package "/Applications/MAMP/bin/php/php5.3.6/bin/pear". Invalid tgz file. sudoをはずすと途中まではできるようになった。ただし、権限がないためにこんなエラーが出る。 ERROR failed to mkdir /Applications/MAMP/bin/php/php5.3.6/lib/php/docs/PEAR 強引ではあるが、Finderから上のディレクトリを作成する。 imageプラグインエラー ご指定のURLはサポートしていません。png, jpg, gif などの画像URLを指定してください。 次に、sudoをしないでpearをアップグレードさせる。 ./pear upgrade pear PHPUnitインストール 更新日 2012-11-13 MAMPのバージョン2.0.5 cd /Applications/MAMP/bin/php/php5.3.6/bin sudo ./pear upgrade pear ./pear channel-discover pear.phpunit.de ./pear channel-discover components.ez.no ./pear channel-discover pear.symfony-project.com sudo ./pear install phpunit/PHPUnit こんなエラーが出たら、 Notice unserialize() Error at offset 276 of 1133 bytes in Config.php on line 1050 Notice unserialize() Error at offset 276 of 1133 bytes in /Applications/MAMP/bin/php/php5.3.6/lib/php/PEAR/Config.php on line 1050 ERROR The default config file is not a valid config file or is corrupted. 以下のコマンドを入力して、pear.confを削除する。 rm /Applications/MAMP/bin/php/php5.3.6/conf/pear.conf 参考サイト http //d.hatena.ne.jp/nkimra/20120715/1342312360 phpでデーモンを走らせる pearをインストールする。 yum -y install php-pear System_Daemonをインストールする。 pear install System_Daemon System_Daemonを実行するためには、posixがインストールされている必要がある。 しかし、php5.3.0以降posixが非推奨になっているので、手動でインストールしなければならない。 理由は、バイナリセーフでないから。詳しくは参考URLに載ってる。 posixをインストールするには、 pear install posix デーモンのループ中にechoやターミナルに直接ログを吐かせたりすると、fatal_errorになってしまう。 ターミナルをそのまま閉じないのなら問題はない。ただし、デーモンである意味もない。 ターミナルを閉じると、吐き出す先がなくなってしまうためエラーになってしまう。 参考サイト http //d.hatena.ne.jp/t_komura/20090526/1243349783
https://w.atwiki.jp/ce00582/pages/5880.html
!DOCTYPE html html head meta charset="utf-8"/ script src= jquery.js /script script src= pro.js /script /head body onload="init()" p id= table /p input type="button" value="次" onClick="sample()" / /body /html var number; function init(){ number = 1; } function sample(){ number = number + 1; var urlx,word; urlx ="index.php"; $.get(urlx, function (triangle) { var str = triangle.split("△"); var memo; memo = str[number]; var x = memo.split(","); var strx = x[0]; strx = strx + " br "; strx = strx+" img src=\"" + x[1] + "\" "; $("#table").html(strx); }); } ?php $str=""; $fpx = fopen("book.csv", "r"); while ($line = fgets($fpx)) { $str=$str."△"; $str=$str.$line; } fclose($fpx); print($str); ?
https://w.atwiki.jp/ohden/pages/532.html
PHP install PHP 5.3.25 CentOS 6.4 phpenv, php-build phpモジュール切り替えをやってくれるツール。 大事なのは、PHPはbuild時にoptionを指定しないと使えない機能が多々有ることを覚えておく。 最初にどのoptionを有効にするか見極めて、必要なoptionを設定してやる必要がある。 PHPのdocumentに載ってるのに、いざ使ってみたら『Call to undefined method HOGE』って出るのはその典型。 現在稼働中のPHPのbuild optionはphpinfo()で確認できる。 c.f.) http //kokukuma.blogspot.jp/2011/10/php-538.html ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --cache-file=../config.cache --with-libdir=lib64 --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --disable-debug --with-pic --disable-rpath --without-pear --with-bz2 --with-freetype-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr --enable-gd-native-ttf --with-t1lib=/usr --without-gdbm --with-gettext --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-pcre-regex --with-zlib --with-layout=GNU --enable-exif --enable-ftp --enable-sockets --with-kerberos --enable-shmop --enable-calendar --with-libxml-dir=/usr --enable-xml --with-mhash --libdir=/usr/lib64/php --enable-pcntl --enable-mbstring=shared --enable-mbregex --with-gd=shared --enable-bcmath=shared --enable-dba=shared --with-db4=/usr --with-xmlrpc=shared --with-ldap=shared --with-ldap-sasl --enable-mysqlnd=shared --with-mysql=shared,mysqlnd --with-mysqli=shared,mysqlnd --enable-dom=shared --with-pgsql=shared --enable-wddx=shared --with-snmp=shared,/usr --enable-soap=shared --with-xsl=shared,/usr --enable-xmlreader=shared --enable-xmlwriter=shared --with-curl=shared,/usr --enable-pdo=shared --with-pdo-odbc=shared,unixODBC,/usr --with-pdo-mysql=shared,mysqlnd --with-pdo-pgsql=shared,/usr --with-pdo-sqlite=shared,/usr --with-pdo-dblib=shared,/usr --without-sqlite3 --enable-json=shared --enable-zip=shared --without-readline --with-libedit --with-pspell=shared --enable-phar=shared --with-mcrypt=shared,/usr --with-tidy=shared,/usr --with-mssql=shared,/usr --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared --enable-posix=shared --with-unixODBC=shared,/usr --enable-fileinfo=shared --enable-intl=shared --with-icu-dir=/usr --with-enchant=shared,/usr --with-recode=shared,/usr ./configure--build=x86_64-redhat-linux-gnu--host=x86_64-redhat-linux-gnu--target=x86_64-redhat-linux-gnu--program-prefix=--prefix=/usr--exec-prefix=/usr--bindir=/usr/bin--sbindir=/usr/sbin--sysconfdir=/etc--datadir=/usr/share--includedir=/usr/include--libdir=/usr/lib64--libexecdir=/usr/libexec--localstatedir=/var--sharedstatedir=/var/lib--mandir=/usr/share/man--infodir=/usr/share/info--cache-file=../config.cache--with-libdir=lib64--with-config-file-path=/etc--with-config-file-scan-dir=/etc/php.d--disable-debug--with-pic--disable-rpath--without-pear--with-bz2--with-exec-dir=/usr/bin--with-freetype-dir=/usr--with-png-dir=/usr--with-xpm-dir=/usr--enable-gd-native-ttf--without-gdbm--with-gettext--with-gmp--with-iconv--with-jpeg-dir=/usr--with-openssl--with-pcre-regex=/usr--with-zlib--with-layout=GNU--enable-exif--enable-ftp--enable-magic-quotes--enable-sockets--enable-sysvsem--enable-sysvshm--enable-sysvmsg--with-kerberos--enable-ucd-snmp-hack--enable-shmop--enable-calendar--without-sqlite--with-libxml-dir=/usr--enable-xml--with-system-tzdata--enable-force-cgi-redirect--enable-pcntl--with-imap=shared--with-imap-ssl--enable-mbstring=shared--enable-mbregex--with-gd=shared--enable-bcmath=shared--enable-dba=shared--with-db4=/usr--with-xmlrpc=shared--with-ldap=shared--with-ldap-sasl--with-mysql=shared,/usr--with-mysqli=shared,/usr/lib64/mysql/mysql_config--enable-dom=shared--with-pgsql=shared--enable-wddx=shared--with-snmp=shared,/usr--enable-soap=shared--with-xsl=shared,/usr--enable-xmlreader=shared--enable-xmlwriter=shared--with-curl=shared,/usr--enable-fastcgi--enable-pdo=shared--with-pdo-odbc=shared,unixODBC,/usr--with-pdo-mysql=shared,/usr/lib64/mysql/mysql_config--with-pdo-pgsql=shared,/usr--with-pdo-sqlite=shared,/usr--with-sqlite3=shared,/usr--enable-json=shared--enable-zip=shared--without-readline--with-libedit--with-pspell=shared--enable-phar=shared--with-tidy=shared,/usr--enable-sysvmsg=shared--enable-sysvshm=shared--enable-sysvsem=shared--enable-posix=shared--with-unixODBC=shared,/usr--enable-fileinfo=shared--enable-intl=shared--with-icu-dir=/usr--with-enchant=shared,/usr--with-recode=shared,/usr ./configure--build=x86_64-redhat-linux-gnu--host=x86_64-redhat-linux-gnu--target=x86_64-redhat-linux-gnu--program-prefix=--prefix=/usr--exec-prefix=/usr--bindir=/usr/bin--sbindir=/usr/sbin--sysconfdir=/etc--datadir=/usr/share--includedir=/usr/include--libdir=/usr/lib64--libexecdir=/usr/libexec--localstatedir=/var--sharedstatedir=/usr/com--mandir=/usr/share/man--infodir=/usr/share/info--cache-file=../config.cache--with-libdir=lib64--with-config-file-path=/etc--with-config-file-scan-dir=/etc/php.d--disable-debug--with-pic--disable-rpath--without-pear--with-bz2--with-exec-dir=/usr/bin--with-freetype-dir=/usr--with-png-dir=/usr--with-xpm-dir=/usr--enable-gd-native-ttf--with-t1lib=/usr--without-gdbm--with-gettext--with-gmp--with-iconv--with-jpeg-dir=/usr--with-openssl--with-pcre-regex--with-zlib--with-layout=GNU--enable-exif--enable-ftp--enable-magic-quotes--enable-sockets--with-kerberos--enable-ucd-snmp-hack--enable-shmop--enable-calendar--with-libxml-dir=/usr--enable-xml--with-system-tzdata--with-mhash--enable-force-cgi-redirect--libdir=/usr/lib64/php--enable-pcntl--with-imap=shared--with-imap-ssl--enable-mbstring=shared--enable-mbregex--with-gd=shared--enable-bcmath=shared--enable-dba=shared--with-db4=/usr--with-xmlrpc=shared--with-ldap=shared--with-ldap-sasl--enable-mysqlnd=shared--with-mysql=shared,mysqlnd--with-mysqli=shared,mysqlnd--enable-dom=shared--with-pgsql=shared--enable-wddx=shared--with-snmp=shared,/usr--enable-soap=shared--with-xsl=shared,/usr--enable-xmlreader=shared--enable-xmlwriter=shared--with-curl=shared,/usr--enable-fastcgi--enable-pdo=shared--with-pdo-odbc=shared,unixODBC,/usr--with-pdo-mysql=shared,mysqlnd--with-pdo-pgsql=shared,/usr--with-pdo-sqlite=shared,/usr--with-pdo-dblib=shared,/usr--without-sqlite3--with-sqlite=shared,/usr--enable-json=shared--enable-zip=shared--without-readline--with-libedit--with-pspell=shared--enable-phar=shared--with-mcrypt=shared,/usr--with-tidy=shared,/usr--with-mssql=shared,/usr--enable-sysvmsg=shared--enable-sysvshm=shared--enable-sysvsem=shared--enable-posix=shared--with-unixODBC=shared,/usr--enable-fileinfo=shared--enable-intl=shared--with-icu-dir=/usr--with-enchant=shared,/usr--with-recode=shared,/usr 更新日: 2013年09月11日 (水) 12時15分09秒 名前 コメント すべてのコメントを見る
https://w.atwiki.jp/miffy0322/pages/9.html
自分のノートPCの上でPukiWiki;を動かす為には次に、PHPを導入;;してやる必要があります!~ 『PHP』;;とは、動的にWebページを作成するWebサーバの拡張機能の一つであり、またそこで使われるスクリプト言語のことです。レイアウトの「雛形」となるHTMLファイル内に処理内容を記述したスクリプトを埋め込み、処理結果に応じて動的に文書を作成し、送出することができます。正式名称の「PHP:Hypertext Preprocessor」にもあるように、動的に生成されるページの作成に向いています。~ コンピュータ用語辞典(http //computers.yahoo.co.jp/dict)より引用~ 1.PHPのダウンロード (手順1) http //www.php.net をクリック ~ LEFT |上のリンクを右クリック→「新しいウィンドウで開く」をすると便利!;| (手順2)downloadsをクリック~ (手順3)日本の『 color(blue){jp2.php.net};』をクリックしデスクトップへダウンロード~ 同じ名前のものがたくさんあるので間違わないように!; ダウンロードはデスクトップへした方が分かりやすいです! (手順4)デスクトップにできたフォルダ『 color(blue){php4.3.11-win32};』を右クリック→すべて展開~ (手順5)展開ウィザードに従い、 color(red){Eドライブ直下(E/)に展開};する~ この時、新たにフォルダを作成して、その中に展開したフォルダを作ってしまうとマイコンでEドライブを開いたときに、アドレスが『E/php4.3.11-win32/php4.3.11-win/;』となり、後々設定エラーが出てしまうので、必ず『E/php.4.3.11-win/;』の状態で各種フォルダやファイルが見れる状態にしておくこと; (手順6)展開したフォルダ「php.4.3.11-win32」の名前を『 color(blue){php};』に変更~ 2.PHPの設定 (まずは・・)『PHP』内の color(blue){php4ts.dll};を「 color(blue){E/Windows/system32};」へコピー~ (つぎに・・)『PHP』内の color(blue){php.ini-dist};を「 color(blue){E/Windows};」へコピーし『 color(blue){php.ini};』へ名前変更する~ コピーは右クリック→コピーで行ってね ここまでいけたら実際にApacheの上でPHPが正しく作動するように設定をしていきましょう; 2-1.PHP側の設定 (手順1)E/Windowsにコピーした『 color(blue){php.ini};』(PHPの設定ファイル)をクリック(メモ帳で開くはずです)~ (参考)変更箇所を見つけるには、Ctrlキー+Fキーで検索してください 2-1-1.Path and Directories内の変更箇所 (一つ目)includeファイルへのパスをアンコメント(「;」を取ること)する。~ 「;」を取るとその後ろの命令文が有効になります; 「完成文」~ ;Windows "/path1;/path2";;~ include_path = ".;e /php/includes";;~ (二つ目)ApacheのDocumentRootを指定( color(red){必ず自分のApacheのDocumentRootがどこになっているのか確認すること!};)~ 「完成文」~ doc_root = "d /htdocs";;~ もしくは~ doc_root = "e /Program Files/Apache Group/Apache2/htdocs";;~ (三つ目)拡張モジュールのディレクトリを指定~ 「完成文」~ extension_dir = "e /php/extensions";;~ 2-1-2.Dynamic Extensions内の変更箇所 (一つ目)ロードしたいモジュールをアンコメント~ 「完成文」~ extension=php_gd2.dll;;~ extension=php_mbstring.dll;;~ extension=php_pgsql.dll;;~ 2-2.Apache側の設定 『 color(blue){httpd.conf};』(Apacheの設定ファイル)をクリック(メモ帳で開くはずです)~ 「スタート」→「プログラム」→「Apache HTTP Seever」→「Configure Apache server」→「Edit the Apache httpd.conf Configuration file」へいきなさい (参考)変更箇所を見つけるには、Ctrlキー+Fキーで検索してください (一つ目)ロードするモジュールの指定~ 「#LoadModule ・・・・・」と複数並んでいる下の行に次の一文を追加~ LoadModule php4_module e /php/sapi/php4apache2.dll;;~ (二つ目)PHPの拡張子を指定~ 「AddType application/x-tar .tgz」とある下などに次の文を追加~ AddType application/x-httpd-php .php;;~ AddType application/x-httpd-php-source .phps;;~ (三つ目)DirectoryIndexの項目に「 color(green){index.php};」を追加する~ 3.設定変更後にすること (その1) 「スタート」→「プログラム」→「Apache HTTP Seever」→「Configure Apache server」→「Test Configuration」を実行 ~ 黒いウィンドウが開きそこに「Syntax OK」と表示されればOKです!この画面はOKと表示されてすぐに閉じてしまいます。; (その2)また設定した変更内容を反映させるためにApacheを再起動させる~ 「スタート」→「プログラム」→「Apache HTTP Seever」→「Control Apache server」→「Reatart」を実行~ 4.Apache上でPHPが作動しているかの最終確認 (手順1)メモ帳で以下の一文を記述し、ファイル名「 color(blue){info.php};」、ファイルの種類「 color(blue){すべてのファイル};」で保存する~ ?php phpinfo(); ? ;;~ (手順2)このファイルを自分のApacheのDocumentRoot(htdocs)に入れる~ (手順3)Webブラウザで自分の color(blue){IPアドレス};、もしくは「 color(blue){http //localhost};」と入力~ (手順4)info.phpをクリック~ どうですか?PHPの設定を示す上のような「表」みたいなものが表示されましたか?;~ 表示された人→おめでとう!あとはPukiWikiを入れるだけ!;~ 失敗した人→ファイト!
https://w.atwiki.jp/ippei/pages/16.html
Power PointPower Point用の素材とか Tex自作アブストラクトテンプレート Power Point http //www.microsoft.com/japan/office/powerpoint/producer/prodinfo/default.mspx~ ここで無償配布してるらしい。よってわざわざOfficeを買う必要はなしのようです。 また、OpenOfficeを使うのもアリかも知れない Power Point用の素材とか パワーポインタ出資料を作る場合なにかとアイコンとか画像とか必要になるので~ http //www.allied-telesis.co.jp/library/parts/list.html~ http //www.clipart.jp/index.html~ Tex 自作アブストラクトテンプレート \documentclass[a4j, twocolumn,10pt,notitlepage]{jarticle} \usepackage{graphicx,amsmath,amsthm,amssymb} \usepackage[hang,small,bf]{caption} \setlength{\topmargin}{-28mm} \setlength{\textheight}{265mm} \setlength{\oddsidemargin}{-2cm} \setlength{\evensidemargin}{-2cm} \setlength{\textwidth}{20cm} \begin{document} \twocolumn[% \begin{center} {\gtfamily \Large 論文概要 }\\ \large {\arrayrulewidth=1pt \begin{tabular}{|c|p{13zw}|c|p{13zw}|} \hline 専門分野 ボンクラ 講座 ボンクラ \\ \hline 学生番号 000001 氏名 だれか\\ \hline \rule[-13pt]{0pt}{31pt} 論文題目 \multicolumn{3}{|c|} {なにか}\\ \hline \end{tabular} } \end{center} ] 本文 \end{document} DOCS
https://w.atwiki.jp/ljhvs/pages/10.html
PHP インターネットで見かけるほとんどのWebサイトを開発できる PHPは「やさしい言語」 ■手軽にはじめられる メモ帳から、Dreamweaver 、EclipseのTruSDtudioまで使える ■HTMLと融合できる PHPになれたらテンプレートエンジン smarty を使うと、よりメンテナンスが楽に。 ■わかりやすいエラーメッセージ ■親切なマニュアル、豊富なドキュメント →PHPの公式マニュアル インストール方法、言語構文、すべての関数のリファレンスがある →PHPユーザメーリングリスト → ■多くのサードパーティ製ライブラリ PEARと呼ばれるライブラリには、PHP本体では簡単に記述できないコード HTMLメールを送信する、フォームの作成を簡単にする が公開されている その他にも美しいグラフを作成する「JpGraph」 ■PHPとJAVA JSPと呼ばれる技術は使用用途もPHPに似てる 現在歩みよりが進んでいる ■周辺ソフトウエア Apache MySQL PostgreSQL Ming関数によるFlashの動的作成 FPDFライブラリによるphpからPDFの作成 http //www.ffpc.jp/ http //www.komonet.ne.jp/script.htm http //www.phpweb.jp/ http //0324.ws.dk-style.jp/help/php.htm http //www.sra.co.jp/people/i-kaori/PHP/php-pdflib.html#top http //www.infotek.co.jp/product/pdflib/pdflib_nyumon.html http //www.wings.msn.to/index.php/-/B-01/PHP/ http //homepage2.nifty.com/n_nisi/keisan/100masu.htm http //www2.ocn.ne.jp/~links4pg/sub72.htm http //www.root21.com/howtophp/ http //www.y2sunlight.com/ground/?Ground-SunLight http //mw-system.jp/bosyuu_mail.php PHPのオススメ開発環境は? とにかく赤マンモスを読み切る。 要求に対して適切な関数を探せるようになる事を目指し PHP マニュアル (出来れば英語版) を使い込む。 何でもいいので MySQL の概要を一通り把握する。(MySQL の操作には phpMyAdmin が使える) PEAR DB, PEAR HTML_QuickForm, PEAR HTTP_Upload は味方。ドキュメントは pear.php.net 内にあるが、出来れば英語版を使う。前者二つは日本語情報も多く役立つが、一次情報を大切に。 プログラムがある程度出来てからでもよいので次の問題を調べる (出来れば PHPSC のドキュメントを通読)。変数汚染, XSS, SQL インジェクション, ファイルアップロードを利用した不正なコードの実行 PEAR とセキュリティに関する問題はムック まるごとPHP が参考になる。「PEAR であぷりをつくろう」にある実装上のポリシーに関する解説も役立つ。ただしビギナーズセクションは無視。 http //phpspot.net/php/php_topics.htmlのサイトで知った“XAMPP”を用いたので、MySQLもインストールされているようです。 おすすめサイトは、レッツPHPです。http //php.s3.to/ チュートリアルが特に。 まず赤マンモスを読破してください。PHP4 で開発する場合も PHP5 対応版を読んで削り落とす方が楽だと思います。 PHPSC http //phpsec.org/projects/guide/ には必ず目を通してください。 PHP マニュアルはお友達です。自分の環境にあったマニュアルをローカルに持ち、早く仲良くなりましょう。 http //www.php.net/docs.phpマニュアルの歩き方が分かると一気に楽になります。 PDFlibのブロックプラグインについ HPをhtmlからphpにするメリットって? これからPHPのプログラミングを学習するのであれば、「PHP4徹底攻略」という本が PDFで公開されていますので、第1部だけでもいろいろメリットが見いだせると思います。 http //www.sra.co.jp/people/t-ishii/php_new/php4_new.html Web上のフォームで入力→PDF作成 とりあえずサーバ側でPDFを変換するのを試してみたいという場合、PHPでは設定などインストールするだけでも大変すので単体で済むJavaベースの横浜ベイキットのアプリケーションサーバをおすすめしておきます。 http //book.mycom.co.jp/book/4-8399-1096-0/4-8399-1096-0.shtml PHPの参考書 http //php.s3.to/ http //homepage2.nifty.com/sak/w_sak3/doc/sysbrd/sak3php.htm http //www.zuien.or.jp/develop/ja-manual/php3/manual.html web上のリファレンス見ながら作ってるのが現状です。http //jp.php.net/manual/ja/ PHP4でカンタンWebDB構築ガイド」秀和システムを愛用しています。この本のありがたいところは,関数のリファレンスと関数逆引き辞典が載せられているので,特定の目的に合った関数を調べたいときに非常に便利です。 また↓のサイトも便利です。http //homepage2.nifty.com/sak/w_sak3/doc/sysbrd/sak3php.htm Eclipse+WebStudio や Peggy + PHP.exe + CHMヘルプ などの開発環境を用意すると学習効率がぐっと上がります。楽です。 無償でPDFファイルを作成する方法は? 私のところではPDFlibの代わりになるようなクラスを自前で作りました。http //www.mula-net.com/mulib/ PHPとは、何をするための何なのですか 動的にPDFを作成したいのですが サーバーでのPDF作成 金がかかるのは厭とか、XMLからPDFに変換させるなどの方法であれば、JavaのサーブレットコンテナにCocoon2(xml.apache.org)を組み込めば簡単です。Java2の実行できる環境が必要ですがてっとり早く試してみたいならwww.baykit.orgのBXSを使うのが無償で手軽かと思います。 ブラウザから定型フォームを印刷したいのですが・・
https://w.atwiki.jp/redio/pages/23.html
require( includes/application_top.php ); 今のところ関係ない require($code_page_directory . / . $value); わからない。。。 require($template- get_template_dir( html_header.php ,DIR_WS_TEMPLATE, $current_page_base, common ). /html_header.php ); わからない。。。 require($template- get_template_dir( main_template_vars.php ,DIR_WS_TEMPLATE, $current_page_base, common ). /main_template_vars.php ); わからない。。。 require($template- get_template_dir( tpl_main_page.php ,DIR_WS_TEMPLATE, $current_page_base, common ). /tpl_main_page.php ); ヘッダー部分に入る、HTML等を入れている 今回は、ロゴや、ナビゲーション等のヘッダーHTMLを入れている $header_template = tpl_header.php ; $footer_template = tpl_footer.php ; $left_column_file = column_left.php ; $right_column_file = column_right.php ;